package part1.decorator;

import part1.Drink;

// 具体的调味品
public class Chocolate extends Decorator {
    public Chocolate(Drink drink) {
        super(drink);
        setDescription("巧克力");
        setPrice(3.0f); // 调味品的价格
    }
}
